import {SAVE_USER} from '../type'

/**
 * 保存用户逻辑
 */
const initState = {}

export default function userReducer(preState = initState, action) {
    if (action.type === SAVE_USER) {
        return action.data
    }
    return preState
}
